package com.enetiy;

import java.util.Date;


/**
 * Ticketuser entity. @author MyEclipse Persistence Tools
 */

public class Ticketuser implements java.io.Serializable {

	// Fields

	private Integer id;
	private Users users;
	private Ticket ticket;
	private Date allotTime;
	private Date getTime;
	private Integer isGet;
	private  Integer giveTime;

	// Constructors

	/** default constructor */
	public Ticketuser() {
	}

	/** full constructor */
	public Ticketuser(Users users, Ticket ticket, Date allotTime,
			Date getTime, Integer isGet,Integer giveTime) {
		this.users = users;
		this.ticket = ticket;
		this.allotTime = allotTime;
		this.getTime = getTime;
		this.isGet = isGet;
		this.giveTime = giveTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public Ticket getTicket() {
		return this.ticket;
	}

	public void setTicket(Ticket ticket) {
		this.ticket = ticket;
	}

	public Date getAllotTime() {
		return this.allotTime;
	}

	public void setAllotTime(Date allotTime) {
		this.allotTime = allotTime;
	}

	public Date getGetTime() {
		return this.getTime;
	}

	public void setGetTime(Date getTime) {
		this.getTime = getTime;
	}

	public Integer getIsGet() {
		return this.isGet;
	}

	public void setIsGet(Integer isGet) {
		this.isGet = isGet;
	}

	public Integer getGiveTime() {
		return giveTime;
	}

	public void setGiveTime(Integer giveTime) {
		this.giveTime = giveTime;
	}

}